call gtk_window_process_updates() so the animation keeps running even if
authorMichael Natterer <mitch@imendio.com>
Wed, 16 Nov 2005 14:40:41 +0000 (14:40 +0000)
committerMichael Natterer <mitch@src.gnome.org>
Wed, 16 Nov 2005 14:40:41 +0000 (14:40 +0000)
commit81be0b4311765c54dedfa16079444b844ef5cf8b
treeb7d0f558cb222ab95d70e756600e560d28af2253
parent6e802acd48ec7d04285b91e29871bca11472213e
call gtk_window_process_updates() so the animation keeps running even if

2005-11-16  Michael Natterer  <mitch@imendio.com>

* gtk/gtkimage.c (animation_timeout): call
gtk_window_process_updates() so the animation keeps running even
if the main loop is busy with sources that eat a lot of cpu with
high priority. Fixes bug #321444.

(gtk_image_new_from_animation): document the fact that the
animation will stop running if the main loop is busy with sources
that have priorities higher than G_PRIORITY_DEFAULT.

* tests/testimage.c: added test case that shows an animation even
though a cpu-eating idle function is running.
ChangeLog
ChangeLog.pre-2-10
gtk/gtkimage.c
tests/testimage.c